package com.poetize.plus.entity.dto.page;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author zuosy
 * @Date 2024/5/12 12:13
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public final class CommentChildPageDTO extends PageParam {

    @NotNull(message = "文章ID")
    private Long articleId;

    @NotNull(message = "父评论ID不能为空")
    private Long parentId;

    @NotNull(message = "楼层")
    private Integer floorNum;
}
